<?php


namespace app\lunwen\controller;


use app\lunwen\model\DepartmentUploadFileModel;

use cmf\controller\HomeBaseController;

class DepartmentAlreadySubmitController extends HomeBaseController
{
    public function index(){

        $exData = new DepartmentUploadFileModel();
        $data = $exData
            ->whereTime('create_time','>',session('beforeYear'))
            ->whereTime('create_time','<',session('afterYear'))
            ->all();
        $this->assign('title',$data);
        return $this->fetch(":departmentAlreadySubmit");
    }
}